<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/stream/internal/__ConstString.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_090521d29e73b40f7fc0a63254d8965e.html">stream</a></li><li class="navelem"><a class="el" href="dir_3b6a8194bb53c7a81b387942cffd090f.html">internal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">__ConstString.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_____const_string_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef ____CONSTSTRING_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define ____CONSTSTRING_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;../../algorithm/Algorithm.h&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;../StringTools.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt;</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html">   14</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_c_const_string_t.html">CConstStringT</a></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;{</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">   17</a></span>&#160;    <span class="keyword">typedef</span> <span class="keyword">const</span> T* <a class="code" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a>;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">   18</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> <a class="code" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#aeb16af3ea2ee891ade74ee41c2c6f168">   19</a></span>&#160;    <span class="keyword">typedef</span> <span class="keyword">const</span> T&amp; <a class="code" href="class_c_const_string_t.html#aeb16af3ea2ee891ade74ee41c2c6f168">refrence</a>;</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#ac1730bac5bfff4bf1b2bdf2f14e9b939">   20</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">size_t</span> <a class="code" href="class_c_const_string_t.html#ac1730bac5bfff4bf1b2bdf2f14e9b939">npos</a>;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a1f1cb3133382f9ed6a7ba329816074c8">   27</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#a1f1cb3133382f9ed6a7ba329816074c8">CConstStringT</a>(<a class="code" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> src, <span class="keywordtype">size_t</span> <a class="code" href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">size</a>) : <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>(src), <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>(<a class="code" href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">size</a>)</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    {</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    }</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a7ed9ef03c80221c5eaa491830c482915">   31</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#a7ed9ef03c80221c5eaa491830c482915">CConstStringT</a>(<a class="code" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> beg, <a class="code" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> <a class="code" href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">end</a>) : <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>(beg), <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>(<a class="code" href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">end</a> - beg)</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    {</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">end</a> &lt;= beg)</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        {</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;             <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a> = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;             <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a> = 0;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        }</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    }</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a6e604da5afc75038d0de49d4e1cc2c06">   40</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#a6e604da5afc75038d0de49d4e1cc2c06">CConstStringT</a>(<a class="code" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> str):<a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>), <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>(0)</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    {</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="keywordflow">if</span> (str != <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>)</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        {</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a> = str;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;            <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a> = <a class="code" href="class_string_tools.html#aad313971c0ca2076d351c039efd35f64">StringTools&lt;T&gt;::strlen_ex</a>(str);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        }</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    }</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a80328b2306d21960d8732217df6f26d7">   49</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#a80328b2306d21960d8732217df6f26d7">CConstStringT</a>() :<a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>), <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>(0) {}</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a3d9da935871b6c631b798cf121e2a2e0">   54</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a> <a class="code" href="class_c_const_string_t.html#a3d9da935871b6c631b798cf121e2a2e0">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>; }</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">   57</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a> <a class="code" href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a> + <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>; }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">   60</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>; }</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#aae871a629514c0396b93b15a00ac380a">   63</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#aeb16af3ea2ee891ade74ee41c2c6f168">refrence</a> <a class="code" href="class_c_const_string_t.html#aae871a629514c0396b93b15a00ac380a">operator[] </a>(<span class="keywordtype">size_t</span> pos)<span class="keyword"> const</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">    </span>{</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>[pos];</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    }</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a6ee333b90e221fe8db248a06509f720b">   69</a></span>&#160;    T <a class="code" href="class_c_const_string_t.html#a6ee333b90e221fe8db248a06509f720b">at</a>(<span class="keywordtype">size_t</span> pos)<span class="keyword"> const</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">    </span>{</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="keywordflow">if</span> (pos &gt;= <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>) <span class="keywordflow">throw</span> std::out_of_range(<span class="stringliteral">&quot;out of range&quot;</span>);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        T ch = <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>[pos];</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">return</span> ch;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">   78</a></span>&#160;    <a class="code" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> <a class="code" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">   79</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;};</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt; <span class="keywordtype">size_t</span> <a class="code" href="class_c_const_string_t.html">CConstStringT&lt;T&gt;::npos</a> = -1;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#endif //____CONSTSTRING_H__</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_c_const_string_t_html_a6e604da5afc75038d0de49d4e1cc2c06"><div class="ttname"><a href="class_c_const_string_t.html#a6e604da5afc75038d0de49d4e1cc2c06">CConstStringT::CConstStringT</a></div><div class="ttdeci">CConstStringT(point str)</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00040">__ConstString.h:40</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_a80328b2306d21960d8732217df6f26d7"><div class="ttname"><a href="class_c_const_string_t.html#a80328b2306d21960d8732217df6f26d7">CConstStringT::CConstStringT</a></div><div class="ttdeci">CConstStringT()</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00049">__ConstString.h:49</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_a14ad8922956858aed64245e382a42290"><div class="ttname"><a href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">CConstStringT::_size</a></div><div class="ttdeci">size_t _size</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00079">__ConstString.h:79</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_aa2dca626527a5d5d4be6e652ec5f997e"><div class="ttname"><a href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">CConstStringT::iterator</a></div><div class="ttdeci">point iterator</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00018">__ConstString.h:18</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_a03f324d2e3a86a3e6a95213b6e1f203b"><div class="ttname"><a href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">CConstStringT::end</a></div><div class="ttdeci">iterator end() const</div><div class="ttdoc">返回字符串结束位置</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00057">__ConstString.h:57</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_aae871a629514c0396b93b15a00ac380a"><div class="ttname"><a href="class_c_const_string_t.html#aae871a629514c0396b93b15a00ac380a">CConstStringT::operator[]</a></div><div class="ttdeci">refrence operator[](size_t pos) const</div><div class="ttdoc">访问下标为pos的内容</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00063">__ConstString.h:63</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_ad39513ac39e33712db67708dc2894080"><div class="ttname"><a href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">CConstStringT::size</a></div><div class="ttdeci">size_t size() const</div><div class="ttdoc">返回字符串的长度</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00060">__ConstString.h:60</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html"><div class="ttname"><a href="class_c_const_string_t.html">CConstStringT</a></div><div class="ttdoc">字符串类-const限定符 只接受源字符串指针和大小，内部不参与管理内存</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00014">__ConstString.h:14</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_a7ed9ef03c80221c5eaa491830c482915"><div class="ttname"><a href="class_c_const_string_t.html#a7ed9ef03c80221c5eaa491830c482915">CConstStringT::CConstStringT</a></div><div class="ttdeci">CConstStringT(point beg, point end)</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00031">__ConstString.h:31</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_a1f1cb3133382f9ed6a7ba329816074c8"><div class="ttname"><a href="class_c_const_string_t.html#a1f1cb3133382f9ed6a7ba329816074c8">CConstStringT::CConstStringT</a></div><div class="ttdeci">CConstStringT(point src, size_t size)</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00027">__ConstString.h:27</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_ae1c7aef08cf080da9bd2b95d21f8a046"><div class="ttname"><a href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">CConstStringT::_data</a></div><div class="ttdeci">point _data</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00078">__ConstString.h:78</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_a6ee333b90e221fe8db248a06509f720b"><div class="ttname"><a href="class_c_const_string_t.html#a6ee333b90e221fe8db248a06509f720b">CConstStringT::at</a></div><div class="ttdeci">T at(size_t pos) const</div><div class="ttdoc">访问下标为pos的内容,如果越界则会抛掷异常，使用out_of_range可进行捕获</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00069">__ConstString.h:69</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_a3d9da935871b6c631b798cf121e2a2e0"><div class="ttname"><a href="class_c_const_string_t.html#a3d9da935871b6c631b798cf121e2a2e0">CConstStringT::begin</a></div><div class="ttdeci">iterator begin() const</div><div class="ttdoc">返回字符串首位置</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00054">__ConstString.h:54</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_ac1730bac5bfff4bf1b2bdf2f14e9b939"><div class="ttname"><a href="class_c_const_string_t.html#ac1730bac5bfff4bf1b2bdf2f14e9b939">CConstStringT::npos</a></div><div class="ttdeci">static size_t npos</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00020">__ConstString.h:20</a></div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_aeb16af3ea2ee891ade74ee41c2c6f168"><div class="ttname"><a href="class_c_const_string_t.html#aeb16af3ea2ee891ade74ee41c2c6f168">CConstStringT::refrence</a></div><div class="ttdeci">const typedef T &amp; refrence</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00019">__ConstString.h:19</a></div></div>
<div class="ttc" id="aclass_string_tools_html_aad313971c0ca2076d351c039efd35f64"><div class="ttname"><a href="class_string_tools.html#aad313971c0ca2076d351c039efd35f64">StringTools::strlen_ex</a></div><div class="ttdeci">static size_t strlen_ex(const char *s)</div><div class="ttdef"><b>Definition:</b> <a href="_string_tools_8h_source.html#l00122">StringTools.h:122</a></div></div>
<div class="ttc" id="aclass_c_const_string_t_html_ab80d756bcc5bc9f3868550646a6b3268"><div class="ttname"><a href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">CConstStringT::point</a></div><div class="ttdeci">const typedef T * point</div><div class="ttdef"><b>Definition:</b> <a href="_____const_string_8h_source.html#l00017">__ConstString.h:17</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
